# encoding=utf-8
from run_pandas import get_history_best_players, get_history_best_teams, get_teams_history_data


class HistoryService:

    @staticmethod
    def get_teams_data():
        team_list = get_teams_history_data()
        result_data = {
            'team_list': team_list,
            'count': len(team_list)
        }
        return result_data


    @staticmethod
    def get_best_players():
        return get_history_best_players()

    @staticmethod
    def get_best_teams():
        return get_history_best_teams()
